/**
 * 聊天模块
 */
import makeApi from '../utils/services';

export const api = {
	getList: {
        url: '/api/chat/group',
        defaultParams: { searchkey: '' },
    },
    getDetail: {
        url: '/api/chat/detail',
    },
    getStages: {
        url: '/api/chat/stage',
    },
    getStagesDetail: {
        url: '/api/chat/stagedetail',
    },
    selectTopic: {
        url: '/api/chat/checktopic',
    },
    nextStage: {
        url: '/api/chat/nextstage',
    },
    startStages: {
        url: '/api/chat/startbranch',
    },
    endStages: {
        url: '/api/chat/finishbranch',
    },
    questionsList: {
        url: '/api/chat/questions',
    },
    answersList: {
        url: '/api/chat/answers',
    },
};

const services = makeApi(api);

// 如果要定制重写某个请求接口可以在这里设置

export default services;
